package com.xnyzc.lhy.mis.entity.punishment;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 司机处罚列表返回值
 * */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="司机处罚列表返回值", description="司机处罚列表返回值")
public class OaDUserPenaltyInfo {

    @TableId(value="penalty_id", type = IdType.INPUT)
    private Long penaltyId;

    @ApiModelProperty(value = "用户姓名")
    private String driverName;

    @ApiModelProperty(value = "司机id")
    private Long driverId;

    @ApiModelProperty(value = "手机号码")
    private String driverPhone;

    @ApiModelProperty(value = "城市")
    private String city;

    @ApiModelProperty(value = "最近违规类型")
    @TableField(value = "recent_violation",exist = false)
    private String recentViolation;

    @ApiModelProperty(value = "是否存在待处罚行为(0 未存在 1，存在)")
    private String isPenalty;

    @ApiModelProperty(value = "累计违规次数")
    private Integer cumulativeNumberViolations;

    @ApiModelProperty(value = "累计处罚次数")
    private Integer cumulativeNumberPenalties;


}
